package com.itchu.system.service;

import com.itchu.common.domain.PageResult;
import com.itchu.system.domain.Song;
import com.itchu.system.domain.SongList;

import java.util.List;

public interface SongListService {
    PageResult<SongList> findByPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);

    void addSongList(SongList songList, List<Long> cids);

    void deletSongList(Long id);

    void updateSongList(SongList songList, List<Long> cids);

    List<Song> findListSongByLid(Long id);

    void addSongToList(Long id, List<Long> sids);

    void deleteMutipleSong(Long id, List<Long> sids);

    void deleteSong(Long id, Long sid);

    PageResult<SongList> findSongListByCategoryId(Integer page, Integer rows, Long cid, Long isParent);

    List<SongList> searchSongListsByName(String name);
}
